package com.amigo.online.provider.video.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import com.amigo.online.common.core.mybatis.MyMapper;
import com.amigo.online.common.param.dto.video.AdvApplyDto;
import com.amigo.online.common.param.dto.video.AdvSourceCheckDto;
import com.amigo.online.provider.video.model.entity.AdvBundle;

@Mapper
@Component
public interface AdvBundleMapper extends MyMapper<AdvBundle> {

    List<AdvBundle> findBundleByCodeAndArea(AdvApplyDto adv);

    Integer calculatePrice(AdvApplyDto adv);

    Integer calculatePrice(AdvSourceCheckDto dto);

    List<AdvBundle> getBundle();
}
